package com.example.lbstest.service;

import com.example.lbstest.pojo.Card;

import java.util.List;

//接口
public interface CardMapperService {
    int insertOneCard(Card card);
    int setStatus(String id);
    int punchCardDelay(String code,String class_number);
    int punchCardIn(String code,String class_number);
    int delayTimeUpdate(String code,String class_number);
    int delayTimeInsert(String code,String class_number,String time);
    int insertPunchCard(String student_number,String class_number,String code,String time,String status);
    List<Card> getCardList(String teacher_code);
    Card getCard(String class_number,String code);
    int updateOneCardWhere(String class_number,String student_number,String code);
    int insertPunchCardAndAsk(String class_number,String student_number,String code,String time);
    int punchCardAskOne(String class_number,String code);
    int punchCardAskTwo(String class_number,String code);
    String selectPunchCard(String class_number,String student_number,String code);
}
